package com.csms.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.csms.mapper.StoreCategoryMapper;
import com.csms.entity.StoreCategory;
import com.csms.service.StoreCategoryService;

@Service
public class StoreCategoryServiceImpl extends ServiceImpl<StoreCategoryMapper, StoreCategory> implements StoreCategoryService {

    @Override
    public List<StoreCategory> GetStoreCategoryList() {
        return this.list(Wrappers.<StoreCategory>query().lambda()
                .eq(StoreCategory::getPid,-1));
    }
}

